<div class="zy_right" style="border-left:1px solid #DDD;padding-left:10px;">
    <div class="zy_rightm01"> 基本信息 <a href="" style="color:#0A8CD2;" ng-click="needEdit()">编辑</a> </div>
    <div class="zy_rightm0101" style="width: 700px;">
        <p>
            <span style="font-weight:bold;">姓&nbsp;&nbsp;名： </span>
            <span ng-show="!profile.editable">{{profile.name}}</span>
            <input ng-model="profile.name" ng-show="profile.editable">
        </p>

        <p>
            <span style="font-weight:bold;">性&nbsp;&nbsp;别：</span>
            <span ng-show="!profile.editable">{{profile.genderString}}</span>
            <input ng-model="profile.genderString" ng-show="profile.editable">
        </p>

        <p>
            <span style="font-weight:bold;">电&nbsp;&nbsp;话：</span>
            <span ng-show="!profile.editable">{{profile.phone}}</span>
            <input ng-model="profile.phone" ng-show="profile.editable">
        </p>

        <p>
            <span style="font-weight:bold;">Q&nbsp;&nbsp;Q：</span>
            <span ng-show="!profile.editable">{{profile.qq}}</span>
            <input ng-model="profile.qq" ng-show="profile.editable">
        </p>

        <p>
            <span style="font-weight:bold;">邮&nbsp;&nbsp;箱：</span>
            <span ng-show="!profile.editable">{{profile.email}}</span>
            <input ng-model="profile.email" ng-show="profile.editable">
        </p>
    </div>

    <div style="float: left;margin:20px 0 0 20px;" ng-show="profile.editable">
        <a href="" style="color: #0A8CD2;margin-right: 20px;" ng-click="saveProfile()">保存</a>
        <a href="" style="color: #0A8CD2;" ng-click="discard()">放弃</a>
    </div>
</div>
